package cn.wolfcode.rbac.mapper;


import cn.wolfcode.rbac.domain.Permission;
import cn.wolfcode.rbac.util.QueryObject;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {

    int selectForCount(QueryObject qo);

    List<Permission> selectForList(QueryObject qo);

    List<String> selectAllExpression();

    List<String> selectALlExpressionsByEmployeeId(Long id);
}